package cn.mulanbay.persistent.mapper;

import cn.mulanbay.persistent.dto.FastMenuDto;
import cn.mulanbay.persistent.entity.FastMenu;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 快捷菜单 Mapper 接口
 * </p>
 *
 * @author fenghong
 * @since 2022-02-06
 */
public interface FastMenuMapper extends BaseMapper<FastMenu> {

    List<FastMenuDto> getUserFastMenu(@Param("userId")Long userId);

    void deleteUserFastMenu(@Param("userId")Long userId);
}
